package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.Entity;

import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 设备品牌型号表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 17:30:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "设备品牌型号")
public class BDevBrandTypeSaveVO   implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌id
     */
    @Schema(description = "品牌id")
    @NotNull(message = "请填写品牌id")
    private Long brandId;
    /**
     * 型号标识
     */
    @Schema(description = "型号标识")
    @NotEmpty(message = "请填写型号标识")
    @Size(max = 120, message = "型号标识长度不能超过{max}")
    private String typeCode;
    /**
     * 型号说明
     */
    @Schema(description = "型号说明")
    @Size(max = 120, message = "型号说明长度不能超过{max}")
    private String typeNote;
    /**
     * 是否删除 0否1是
     */
    @Schema(description = "是否删除 0否1是")
    @NotNull(message = "请填写是否删除 0否1是")
    private Integer isDeleted;




}
